import http from '@/http';
export const categoryAdd = (data) => {
    return http({
        url: "/category/add",
        method: "post",
        data,
    });
};
export const categoryList = (data) => {
    return http({
        url: "/category/list",
        method: "post",
        data,
    });
};
export const categoryDel = (data) => {
    return http({
        url: "/category/delete",
        method: "post",
        data,
    });
};
export const categoryEdit = (data) => {
    return http({
        url: "/category/edit",
        method: "post",
        data,
    });
};

